package Queue;

/**
 * Created by sunwei on 2017/10/10
 * Time:10:12
 */
public class Link {

    public double dData;//定义链表中的元素类型
    public Link next;//下一个链表的引用

    /*
    构造函数
     */
    public Link(double dData) {
        this.dData = dData;
    }

    /*
    显示链表元素
     */
    public void displayLink(){
        System.out.print(dData+" ");
    }
}
